x,y,z values to 2-d num


	precision = log2(10^(number of digits accuracy each dimension * num_dimensions))		// approx

	scale = 1
'	scale = 0.5


	for i = 1 to dimensions

		if x[i] > scale[i] then
			scale[i] = x[i]


		if x[i] < minx[i] then
			minx[i] = x[i]


'		if abs(x[i] - 0.5) > scale[i] then
'			scale[i] = abs(x[i] - 0.5)

	next


	for i = 1 to dimensions
		scale[i] = scale[i] + abs(minx[i])
	next


	for i = 1 to dimensions
		if scalex > scale[i] then
			scalex = scale[i] 
	next


	for i = 1 to dimensions
	
		x2[i] =  0.5 * (x[i] / scale) + 0.5

		currx[i] = 0
		stepx[i] = 0.5
	next


	for k = 1 to precision

		for i = 1 to dimensions

			if currx[i] + stepx[i] <= x2[i] then

				otp = otp & "1."

				currx[i] = currx[i] + stepx[i]

			else
				otp = otp & "0."

			
			stepx[i] = stepx[i] / 2

		next
	next


	otp = scale & "," & dimensions & "," & otp





	